<script src="https://unpkg.com/vue"></script>

<div id="app">
  <div class="static" v-bind:class="{ active: isActive, 'text-danger': hasError }">hello world.</div>
</div>

<script>
  var vm = new Vue({
    el: '#app',
    data: {
      isActive: true,
      hasError: false
    }
  });

</script>

<style>
  .active {
    text-decoration: underline;
  }

  .text-danger {
    color: red;
  }

</style>
